home *** CD-ROM | disk | FTP | other *** search
/ Champak 41 / Volume 41 - JOGO DISK .iso / Games / konka_66.swf / scripts / DefineSprite_134_man / frame_1 / DoAction.as
Text File  |  2007-05-10  |  721b  |  43 lines

  1. _width = 65.2;
  2. _height = 76.1;
  3. cc = _xscale;
  4. _xscale = - cc;
  5. var t = 0;
  6. var passwall = "σÅ»Σ╗ÑΦ╡░σè¿";
  7. var passwall_l = "σÅ»Σ╗ÑΦ╡░σè¿";
  8. hits = 0;
  9. speed = 5;
  10. xs = 10;
  11. xm = 430;
  12. ys = 157;
  13. ym = 277;
  14. var inair = true;
  15. var yinc = 0;
  16. var jumpspeed = -20;
  17. var g = 2;
  18. ldd = random(100) + 157;
  19. this.onEnterFrame = function()
  20. {
  21.    if(_root.pause == 0)
  22.    {
  23.       if(inair)
  24.       {
  25.          this.swapDepths(100000 + _parent.yinyin._y * 100 + id % 100);
  26.          gotoAndStop("Φ╖│");
  27.       }
  28.       else
  29.       {
  30.          this.swapDepths(100000 + _Y * 100 + id % 100);
  31.       }
  32.       if(t < 20)
  33.       {
  34.          t++;
  35.       }
  36.       else
  37.       {
  38.          hits = 0;
  39.          t = 0;
  40.       }
  41.    }
  42. };
  43.